| Previous | Chapter Contents | Chapter Top | Next |
A sample description structure contains a description of an audio sample, including sample rate, loop points, and lowest and highest key to play on. It is defined by the InstSampleDescRec data type.
struct InstSampleDescRec {
OSType dataFormat;
short numChannels;
short sampleSize;
UnsignedFixed sampleRate;
short sampleDataID;
long offset;
long numSamples;
long loopType;
long loopStart;
long loopEnd;
long pitchNormal;
long pitchLow;
long pitchHigh;
};
typedef struct InstSampleDescRec InstSampleDescRec;
| Previous | Chapter Contents | Chapter Top | Next |